#include<iostream>
int main()
{
	using namespace std;
	
	char ch;
	int count = 0;
	while (cin.get(ch))//or cin.eof() == false
	{
		cout << ch;
		++count;
	}
	cout << endl << count << " characters\n";
	return 0;
}
